package com.buer.train.business.dao;

import com.buer.train.business.domain.DeptDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 部门管理
 * @date 2021-02-23 16:48:27
 */
@Mapper
public interface DeptDao {

	DeptDO get(Integer deptId);
	
	List<DeptDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(DeptDO dept);
	
	int update(DeptDO dept);
	
	int remove(Integer dept_id);
	
	int batchRemove(Integer[] deptIds);

    List<DeptDO> getDeptList(Map<String, Object> map);

    DeptDO getOne(Map<String, Object> map);
}
